package com.i2silly.wxbot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.i2silly.wxbot.entity.BotChatroom;

import java.util.List;

public interface IBotChatroomService extends IService<BotChatroom> {

    boolean delByPid(String pid);

    List<String> distinctChatroomId(String pid);

    boolean delByChatroomIds(String pid,List<String> list);

    List<BotChatroom> listByChatroomIdAndPid(String chatroomId, String pid);

    boolean delByPidAndRoomId(String pid, String chatroomId);

    List<BotChatroom> listByPid(String pid);
}
